package com.example.librarymanagementsystembackend.borrowingmanagement.entity;

import lombok.Data;

/**
 * 还书 数据传输类
 */
@Data
public class ReturnBooksDTO {
//    private Integer userId;        // 还书用户的ID
//    private Integer bookId;        // 还书图书的ID

    Integer borrowId; // 借阅ID
    private String returnTime;     // 还书时间（ISO 8601格式）


    public ReturnBooksDTO(Integer borrowId, String returnTime) {
        this.borrowId = borrowId;
        this.returnTime = returnTime;
    }
}
